package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.OrderDispense;
import com.zshan.clinic.database.model.OrderDispenseExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderDispenseMapper extends SuperMapper {
    long countByExample(OrderDispenseExample example);

    int deleteByExample(OrderDispenseExample example);

    int deleteByPrimaryKey(Long orderId);

    int insert(OrderDispense row);

    int insertSelective(OrderDispense row);

    List<OrderDispense> selectByExample(OrderDispenseExample example);

    OrderDispense selectByPrimaryKey(Long orderId);

    int updateByExampleSelective(@Param("row") OrderDispense row, @Param("example") OrderDispenseExample example);

    int updateByExample(@Param("row") OrderDispense row, @Param("example") OrderDispenseExample example);

    int updateByPrimaryKeySelective(OrderDispense row);

    int updateByPrimaryKey(OrderDispense row);
}